import request from "@/utils/requset"
import axios from "axios"


// 添加分类
export let $_goods_addcate = data => request({
    url: "/goods/addcate",
    method: "POST",
    data
})

// 获取分类列表数据
export let $_goods_catelist = params => request({
    url: "/goods/catelist",
    method: "GET",
    params
})


// 修改分类
export let $_goods_editcate = data => request({
    url: "/goods/editcate",
    method: "POST",
    data
})
